import { SetMetadata } from '@nestjs/common';
import { IS_PUBLIC_KEY } from '../../shared/constants';

/* 标明为公共接口，无需鉴权 */
export const Public = () => SetMetadata(IS_PUBLIC_KEY, true);
